package com.tai.design.builder.demo1;

/**
 * The type Builder.
 *
 * @version v1.0
 * @ClassName: Builder
 * @Description: TODO(一句话描述该类的功能)
 * @Author: taylor
 */
public abstract class Builder {

    /**
     * The Bike.
     */
//声明Bike类型的变量，并进行赋值
    protected Bike bike = new Bike();

    /**
     * Build frame.
     */
    public abstract void buildFrame();

    /**
     * Build seat.
     */
    public abstract void buildSeat();

    /**
     * Create bike bike.
     *
     * @return the bike
     */
//构建自行车的方法
    public abstract Bike createBike();
}
